import request from "@/utils/request";

//查询商品
export const getCategoryList = () => request.get(`/good`);

//新增商品
export const addCategory = (data) => request.post(`/good`, data);

//修改商品信息
export const updateCategory = (data) => request.put(`/good`, data);
//删除商品
export const deleteCategory = (id) => request.delete(`/good?id=${id}`);
